package entity;

import java.sql.Date;

public class Project {
    private int pid;
    private String pname;
    private String pcontent;
    private Date ptime;

    public Project() {
    }

    public Project(int pid, String pname, String pcontent, Date ptime) {
        this.pid = pid;
        this.pname = pname;
        this.pcontent = pcontent;
        this.ptime = ptime;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPcontent() {
        return pcontent;
    }

    public void setPcontent(String pcontent) {
        this.pcontent = pcontent;
    }

    public Date getPtime() {
        return ptime;
    }

    public void setPtime(Date ptime) {
        this.ptime = ptime;
    }
}
